package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.Wallet;
import com.example.pojo.WalletDetail;

import java.util.List;

public interface WalletService extends IService<Wallet> {

    //查询用户钱包余额
    Double checkWalletMoney(Long id);

    //用户消费
    String userConsume(Long id,Double money);

    //用户退款
    String userRefund(Long id,Double refundMoney);

    //查询用户钱包金额明细
    List<WalletDetail> moneyDetail();
}
